package com.ddwl.funds.dao;

import com.ddwl.common.dao.TkDao;
import com.ddwl.funds.dao.mapper.WxEntPayMapper;
import com.ddwl.funds.dao.model.WxEntPay;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;

/**
 * @Author hemiaojun
 * @Date
 */
@Repository
public class WxEntPayDao extends TkDao<WxEntPayMapper, WxEntPay> {

    @Resource
    private WxEntPayMapper wxEntPayMapper;

    public WxEntPay selectByPartnerTradeNo(String partnerTradeNo) {
        WxEntPay entity = new WxEntPay();
        entity.setPartnerTradeNo(partnerTradeNo);
        return this.selectOne(entity);
    }



}